##############################################################
## MOD Title: EXIF Information
## MOD Author: PghBiker
## MOD Description:
##	Adds EXIF Information to the full picture view in the Photo Album
##
##	Requirements:
##	Photo Album Addon v2 for phpBB2 by Smartor
##	Supercharged Album Pack 1 by Volodymyr (CLowN) Skoryk 
##
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time:  ~5 Minutes
## Files To Edit: 2
##	templates/subSilver/album_page_body.tpl
##	album_page_body.php
##
## Included Files: 1
##	exif_info.php
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#----[OPEN]------------------
#
album_showpage.php

#
#----[FIND]------------------
#
	//
	// Generate the page
	//

#
#----[BEFORE ADD]-------------
#
	$xif = @exif_read_data(ALBUM_UPLOAD_PATH . $thispic['pic_filename'], 0, true);
	if (!empty($xif[IFD0]) || !empty($xif[EXIF]))
	{
		include_once($phpbb_root_path . 'exif_info.'.$phpEx);
	}

#
#----[OPEN]------------------
#
templates/subSilver/album_showpage_body.tpl

#
#----[FIND]------------------
#
	</td>
  </tr>
	</table>
<!-- BEGIN coment_switcharo_top -->

#
#----[REPLACE WITH]----------
#
	</table>
<!-- BEGIN exif_switch -->
	<table width="100%" align="center" border="0" cellpadding="0" cellspacing="1">
	  <tr>
		<td><span class="gen"><b>Image EXIF Information</b></span></td>
	  </tr>
<!-- BEGIN exif_data -->
	  <tr>
		<td class="row1" width="25%" align="right"><span class="genmed">{exif_data.EXIFc1}&nbsp;</span></td>
		<td class="row1" width="25%" ><b><span class="genmed">{exif_data.EXIFd1}</span></b></td>
		<td class="row1" width="25%" align="right"><span class="genmed">{exif_data.EXIFc2}&nbsp;</span></td>
		<td class="row1" width="25%" ><b><span class="genmed">{exif_data.EXIFd2}</span></b></td>
	  </tr>
<!-- END exif_data -->
	</table>
<!-- END exif_switch -->
<!-- BEGIN coment_switcharo_top -->

#
#----[FIND]------------------
#
<!-- END coment_switcharo_bottom -->

#
#----[AFTER ADD]-------------
#
	</td>
  </tr>

#
#-----[ COPY ]-------------------------------------------------------
#
copy exif_info.php to exif_info.php

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM